/*
            Author : Nguyen Van Ty
            Email  : ngvanty03@gmail.com
            Date   : 12/27/2010 
           
            */


using System;
using System.Collections.Generic;
using System.Text;


namespace BusinessObject
{
    /// <summary>
    /// This is MatHangTonKho object, it is object of BusinessObject table.
    /// </summary>
    public class MatHangTonKho
    {
        #region fields
        private int maKho;
        private string maMatHang;
        private Int64 soLuongTon;
        private int maDonViTinh;
        private Paging objPaging;

        private SortOrder objSortOrder;

        private string condition;

        private int toltalRow;


        #endregion fields

        #region constructor
        /// <summary>
        /// Define default constructor for MatHangTonKho Object
        /// </summary>
        public MatHangTonKho()
        {
            this.maKho = int.MinValue;
            this.maMatHang = string.Empty;
            this.soLuongTon = Int64.MinValue;
            this.maDonViTinh = int.MinValue; this.objPaging = new Paging();
            this.objSortOrder = new SortOrder();
            this.condition = string.Empty;
            this.toltalRow = 0;

        }
        #endregion constructor
        #region properties
        /// <summary>
        /// Define MaKho Property
        /// </summary>
        public int MaKho
        {
            get { return this.maKho; }
            set { this.maKho = value; }
        }
        /// <summary>
        /// Define MaMatHang Property
        /// </summary>
        public string MaMatHang
        {
            get { return this.maMatHang; }
            set { this.maMatHang = value; }
        }
        /// <summary>
        /// Define SoLuongTon Property
        /// </summary>
        public Int64 SoLuongTon
        {
            get { return this.soLuongTon; }
            set { this.soLuongTon = value; }
        }
        /// <summary>
        /// Define MaDonViTinh Property
        /// </summary>
        public int MaDonViTinh
        {
            get { return this.maDonViTinh; }
            set { this.maDonViTinh = value; }
        }
        public Paging ObjectPaging
        {
            get { return this.objPaging; }
            set { this.objPaging = value; }
        }
        public SortOrder ObjectSortOrder
        {
            get { return this.objSortOrder; }
            set { this.objSortOrder = value; }
        }
        public string Condition
        {
            get { return this.condition; }
            set { this.condition = value; }
        }
        public int ToltalRow
        {
            get { return this.toltalRow; }
            set { this.toltalRow = value; }
        }

        #endregion properties
    }
}